package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = "com.example.mapper")
@EnableTransactionManagement
public class KeyunVideoApplication {

    public static void main(String[] args) {
        SpringApplication.run(KeyunVideoApplication.class, args);
//        System.out.println("\n----------------------------------------------------------\n\t" +
//                "应用程序 系统平台端 正在运行! 访问地址:\n\t" +
//                "本地访问: \t\t http://localhost:8080/\n\t" +
//                "外网访问: \t http://localhost:8080\n\t" +
//                "Swagger文档: \t http://localhost:8080/swagger-ui/index.html\n" +
//                        " http://www.hfjava.cn:9090/swagger-ui/index.html\n"+
//                " http://www.hfjava.cn:9090/doc.html\n"+
//                "----------------------------------------------------------");
        System.out.println("\n----------------------------------------------------------\n\t" +
                "应用程序 系统平台端 正在运行! 访问地址:\n\t" +
                "本地访问: \t\t http://localhost:8080/\n\t" +
                "外网访问: \t http://localhost:8080\n\t" +
                "Swagger文档: \t http://localhost:8080/doc.html\n" +
                "----------------------------------------------------------");

    }

}
